<template>
  <li class="item-ins">
    <span class="item-ins-name">{{ name }}</span>
    <span class="item-ins-icon">
      <img src="../../../assets/player.png" alt="" />
    </span>
  </li>
</template>

<script setup>
defineProps({
  name: {
    type: String,
    required: true
  }
})
</script>

<style scoped>
.item-ins {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5vw 1vw;
  border-bottom: 1px solid rgba(84, 229, 252, 0.15);
  cursor: pointer;
}

.item-ins:hover {
  background: rgba(84, 229, 252, 0.15);
}

.item-ins-name {
  font-size: 0.8vw;
  color: #54e5fc;
}

.item-ins-icon {
  width: 1vw;
  height: 1vw;
}

.item-ins-icon img {
  width: 100%;
  height: 100%;
}
</style>
